home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
404 Jogos
/
CLJG.iso
/
Aventura
/
FireMan.swf
/
scripts
/
frame_547
/
PlaceObject2_200_3
/
CLIPACTIONRECORD onClipEvent(load).as
< prev
Wrap
Text File
|
2008-09-12
|
2KB
|
60 lines
onClipEvent(load){
function procesar()
{
var temp;
_visible = loaded = true;
_root.msg.text = "";
exito.start();
_root.scoretable.name0.text = this.NAME0;
_root.scoretable.name1.text = this.NAME1;
_root.scoretable.name2.text = this.NAME2;
_root.scoretable.name3.text = this.NAME3;
_root.scoretable.name4.text = this.NAME4;
_root.scoretable.name5.text = this.NAME5;
_root.scoretable.name6.text = this.NAME6;
_root.scoretable.name7.text = this.NAME7;
_root.scoretable.name8.text = this.NAME8;
_root.scoretable.name9.text = this.NAME9;
_root.scoretable.score0.text = this.SCORE0;
_root.scoretable.score1.text = this.SCORE1;
_root.scoretable.score2.text = this.SCORE2;
_root.scoretable.score3.text = this.SCORE3;
_root.scoretable.score4.text = this.SCORE4;
_root.scoretable.score5.text = this.SCORE5;
_root.scoretable.score6.text = this.SCORE6;
_root.scoretable.score7.text = this.SCORE7;
_root.scoretable.score8.text = this.SCORE8;
_root.scoretable.score9.text = this.SCORE9;
var i = 0;
while(i <= 9)
{
if(eval("this.SCORE" + i) != 0)
{
temp = (18750 - eval("this.SCORE" + i)) / 0.021;
eval("_root.scoretable.time" + i).text = _root.m2s(temp);
}
else
{
eval("_root.scoretable.time" + i).text = "Empty";
}
trace(eval("_root.scoretable.name" + i).text + "\t" + eval("_root.scoretable.score" + i).text);
i++;
}
}
u = _visible = false;
variables = new LoadVars();
datos = new LoadVars();
datos.onLoad = procesar;
variables.filename = "fis.sco";
variables.scoresize = 10;
variables.action = "VIEW";
variables.viewtype = "FLASH";
variables.sendAndLoad("http://www.dzarchive.com/iragination/hiscotumay.php",datos,"GET");
mwait = getTimer() + 40000;
loaded = false;
failed = new Sound();
failed.attachSound("fhitted");
exito = new Sound();
exito.attachSound("cheater");
}